﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/SailQuote.Master" CodeBehind="CSFQuotedefault.aspx.vb" Inherits="CSFQuote._default" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<%@ Register src="PicturePage.ascx" tagname="PicturePage" tagprefix="uc1" %>
<%@ MasterType virtualpath="~/SailQuote.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  
    <div id="ContentStandard">
    <asp:Panel ID="PnlPrices" runat="server" CssClass="PricePanel">
    <table>
    <tr><td>
    <asp:Label runat="server" ID="lblQuoteID" />
    </td></tr>
    <tr>
    <td><asp:Label runat="server" 
            ID="LblBRPText"
            Text="BRP" /></td>
    <td> <asp:Label runat="server" 
            ID="LblBRPCurrency" /></td>
    <td><asp:Label runat="server" 
            ID="LblBRP" /></td>
    </tr>
    <tr>
    <td> <asp:Label runat="server" 
            ID="LblOptionsText"
            Text="Options" /></td>
    <td> <asp:Label runat="server" 
            ID="LblOptionCurrency" /></td>
    <td><asp:Label runat="server" 
            ID="LblOptions" /></td>
    </tr>
    <tr>
    <td><asp:Label runat="server" 
            ID="LblPriceText"
            Text="Total Price" /></td>
    <td><asp:Label runat="server" 
            ID="LblPriceCurrency" /></td>
    <td><asp:Label runat="server" 
            ID="LblPrice" /></td>
    </tr>
    </table>
    <asp:Label ID="lblNotes" runat="server" visible="false" />
    <br />
     <asp:Label ID="LblSailModelCode" runat="server" />
     </asp:Panel>
    <asp:AlwaysVisibleControlExtender runat="server" ID="AVPnlPrices" TargetControlID="PnlPrices" HorizontalSide="Right" VerticalSide="Top" />
   
   <asp:Panel ID="PnlTitle" runat="server" CssClass="collapsePanelHeader" >
    <asp:Label ID="PnlBoatTitle" 
                runat="server" />
   <asp:image runat="server" ID="ImageBoatExpand" ImageUrl="~/images/expand.png" CssClass="FloatRight"   />
   </asp:Panel>
<asp:Panel runat="server" ID="PnlBoatDetails">
        
       <asp:TextBoxWatermarkExtender ID="TBWSearchBoat" 
                runat="server" 
                TargetControlID="TBBoatType" 
                WatermarkText="eg. Beneteau Oceanis 323" />
 
        <table runat="server" class="LabelPadding" >
        <tr>
        <td><asp:Label ID="LblBoatType"   runat="server"   Text="Boat Type"  CssClass="Calibra15White" /></td>
        <td colspan="7"> <asp:TextBox ID="TBBoatType"   runat="server"  CssClass="Calibra16Black"   Width="290px"  AutoPostBack="true" /></td>
        <td colspan="3"> <asp:ImageButton ID="IBSearch1"  runat="server"  ImageUrl="~/images/search.png"  width="25px"  ToolTip="Enter full or partial boat type"   /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="lblI" Text="I" /></td>
        <td><asp:textbox runat="server" ID="TBI" AutoPostBack="true" Width="50px" onkeyup="OneTextToOther();" /></td>
        <td> <asp:Label runat="Server" ID="LblP" Text="P"  /></td>
        <td><asp:textbox runat="server" ID="TBP" AutoPostBack="true" Width="50px" /></td>
        <td> <asp:Label runat="Server" ID="LblISP" Text="ISp"  /></td>
        <td> <asp:textbox runat="server" ID="TBISP" AutoPostBack="true" Width="50px" /></td>
        <td> <asp:Label runat="Server" ID="LblLOA" Text="LOA"  /></td>
        <td><asp:textbox runat="server" ID="TBLOA" AutoPostBack="true" Width="50px" /></td>
        <td><asp:Label runat="Server" ID="LblRig" Text="Rig"  /></td>
        <td><asp:dropdownlist runat="server" ID="DDLRig" AutoPostBack="true" cssclass="DropDownListPadding"  /></td>
        <td rowspan="3"><asp:image runat="server" ID="ImBoat" Height="200px"  /></td>
        </tr>
        <tr>
        <td><asp:Label runat="Server" ID="LblJ" Text="J"  /></td>
        <td> <asp:textbox runat="server" ID="TBJ" AutoPostBack="true" Width="50px" /></td>
        <td><asp:Label runat="Server" ID="LblE" Text="E"  /></td>
        <td> <asp:textbox runat="server" ID="TBE" AutoPostBack="true" Width="50px" /></td>
        <td><asp:Label runat="Server" ID="LblSPL" Text="SpL"  /></td>
        <td><asp:textbox runat="server" ID="TBSPL" AutoPostBack="true" Width="50px" /></td>
        <td> <asp:Label runat="Server" ID="LblType" Text="Type"  /></td>
        <td> <asp:RadioButtonList runat="server" ID="RBLBoatType"  AutoPostBack="true" cssclass="DropDownListPadding" RepeatColumns="1"  /></td>
        <td><asp:Label runat="Server" ID="LblBoatSpeedText" Text="Upwd Bt Spd"  /></td>
        <td><asp:Label runat="Server" ID="LblBoatSpeed"   /></td>
        </tr>
        <tr>
        <td><asp:Label runat="Server" ID="LblBoatNameText" Text="Boat Name"  /></td>
        <td colspan="7"><asp:textbox runat="server" ID="TBBoatName" AutoPostBack="true" Width="290px" /></td>
        <td colspan="3"></td>
        </tr>
        <tr style="height: 100px;"><td colspan="11"></td></tr>
        </table>
 <asp:Label runat="server" ID="lblmessage" Visible="false" />
</asp:Panel>
 <asp:CollapsiblePanelExtender runat="server" 
            ID="CPnlBoatDetails" 
            CollapsedSize="0"
            ExpandedSize="300"
            Collapsed="True"
            ExpandControlID="PnlTitle"
            CollapseControlID="PnlTitle"
            AutoCollapse="False"
            AutoExpand="False"
            TextLabelID="PnlBoatTitle"
            TargetControlID="PnlBoatDetails"   
            CollapsedText="Show Boat Details..."
            ExpandedText="Hide Boat Details" 
            ImageControlID="ImageBoatExpand"
            ExpandedImage="images/collapse.png"
            CollapsedImage="images/expand.png"
            ExpandDirection="Vertical"  />
  
   <div runat="server" id="DivDGPlacement" class="DGPlacement">
    <asp:Panel runat="server" ID="PnlDGContainer"  Visible="false" >
    <asp:Panel ID="PnlSGBoatHeader" runat="server" CssClass="DatagridBGHeader" >
    <table cellspacing="2" 
		        cellpadding="3" 
		        style="text-align:left; margin-top:10px" 
		        id="TblHeader" 
		        runat="server">
        
        <tr>
            
              <td class="DatagridHeaderText" style="width: 110px; text-align:right;" >
                   Manufacturer </td>
            <td class="DatagridHeaderText"  style="width: 60px">Boat<br />Range </td>
             <td class="DatagridHeaderText" style="width: 60px">Boat<br />Model </td>
               <td class="DatagridHeaderText" style="width: 40px">LOA</td>
              <td class="DatagridHeaderText" style="width: 40px">I </td>
             <td class="DatagridHeaderText" style="width: 40px">J </td>
              <td class="DatagridHeaderText" style="width: 40px">P </td>
              <td class="DatagridHeaderText" style="width: 40px">E </td>
              <td class="DatagridHeaderText" style="width: 60px">Production<br />Years </td>
            </tr>
        </table>
        </asp:Panel>
       
        <asp:Panel runat="server" ID="pnlDg" CssClass="DatagridBG" >
  <div style="HEIGHT: 300px; WIDTH:860px; overflow-y:auto;" 
		        id="Tbldiv" 
		        runat="server">         
         <asp:datagrid id="DGBoats" 
				            runat="server" 
				            CellSpacing="2" 
				            GridLines="None" 
				            AutoGenerateColumns="False" 
				            CellPadding="3" 
                            CssClass="BoatDatagrid" h>
					<EditItemStyle HorizontalAlign="Left"  />
					<AlternatingItemStyle HorizontalAlign="Left" />
					<ItemStyle HorizontalAlign="Left" />
						<Columns>
						<asp:BoundColumn Visible="False" 
						        DataField="BoatGenID" />
						<asp:TemplateColumn ItemStyle-Width ="40px">
						<ItemTemplate>
							<asp:linkButton runat="server" 
							        Text="<img src='images/Agree.png' border='no' width='20px'>" 
							        ID="BoatDetails" 
							        Tooltip="Use these measurements" 
							        CommandName="ViewDetails" 
							        CausesValidation="False"/>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  ItemStyle-Width ="60px" >
								<ItemTemplate >
									<asp:Label runat="server" 
									        Text='<%# DataBinder.Eval(Container, "DataItem.manufacturer") %>'
									        ID="DGmanufacturer" />
								</ItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn   ItemStyle-Width ="60px">
								<ItemTemplate>
									<asp:Label runat="server" 
									        Text='<%# DataBinder.Eval(Container, "DataItem.Boatrange") %>' 
									        ID="DGBoatrange" />
								</ItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn   ItemStyle-Width ="60px">
						<ItemTemplate>
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.BoatModel") %>' 
							        ID="dgBoatModel" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  ItemStyle-Width ="30px">
						<ItemTemplate>
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.Loa") %>' 
							        ID="DGLOA"/>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn   ItemStyle-Width ="40px">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.I") %>' 
							        ID="dgI" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn   ItemStyle-Width ="40px">
						<ItemTemplate>
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.J") %>' 
							        ID="dgJ" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn   ItemStyle-Width ="40px">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.P") %>' 
							        ID="dgP" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn    ItemStyle-Width ="40px">
						<ItemTemplate>
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.E") %>' 
							        ID="dgE"  />
						</ItemTemplate>
				</asp:TemplateColumn>
				<asp:TemplateColumn   ItemStyle-Width ="60px" >
						<ItemTemplate>
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.DesignYear") %>' 
							        ID="dgDesignYear"   />
						</ItemTemplate>
					</asp:TemplateColumn>
				<asp:TemplateColumn visible="false">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.ISp") %>' 
							        ID="dgIsp" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  visible="false">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.Spl") %>' 
							        ID="dgSpL" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  visible="false">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.BoatTypeMultiplier") %>' 
							        ID="dgBoatMultiplier" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  visible="false">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.BoatTypeID") %>' 
							        ID="dgBoatTypeID" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn  visible="false">
						<ItemTemplate >
							<asp:Label runat="server" 
							        Text='<%# DataBinder.Eval(Container, "DataItem.BoatRigGrpID") %>' 
							        ID="dgBoatRigGrpID" />
						</ItemTemplate>
					</asp:TemplateColumn>
			</Columns>
				</asp:datagrid>
        </div>
        </asp:Panel>
        </asp:Panel>
         </div>
     <asp:DropShadowExtender runat="server" 
            ID="DSDG" 
            TargetControlID="DivDGPlacement" 
            Opacity="0.2" 
            TrackPosition="true" />
   
     <asp:Panel ID="PnlCustomer" runat="server" CssClass="collapsePanelHeader" >
    <asp:Label ID="PnlCustomerTitle" 
                runat="server"  />
   <asp:image runat="server" ID="ImageCustomerExpand" ImageUrl="~/images/expand.png" CssClass="FloatRight"    />
   </asp:Panel>
   <asp:Panel runat="server" ID="PnlCustomerDetails">
 
      <div class="FloatLeft">  

        <table id="TblDelCustomer" runat="server" class="LabelPaddingBlue"  >
        <tr>
        <td> <asp:Label runat="Server" ID="LblDelName" Text="Deliver To" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelName"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblDelAddress1" Text="Address1" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelAddress1"  /></td>
        </tr>
       <tr>
        <td> <asp:Label runat="Server" ID="LblDelAddress2" Text="Address2" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelAddress2"  /></td>
        </tr>
       <tr>
        <td> <asp:Label runat="Server" ID="LblDelAddress3" Text="Address3" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelAddress3"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblDelPostCode" Text="PostCode" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelPostCode"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LBlDelCountry" Text="Country" /></td>
        <td> <asp:DropDownlist runat="Server" ID="DDLDelCountry"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblDelPhone" Text="Phone" /></td>
          <td> <asp:TextBox runat="Server" ID="TBDelPhone"  /></td>      
      </tr>
      <tr>
        <td> <asp:Label runat="Server" ID="LblDelFax" Text="Fax" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelFax"  /></td>      
     </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblDelContact" Text="Contact" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelContact"  /></td>      
     </tr>
     <tr>
        <td> <asp:Label runat="Server" ID="LblDelEmail" Text="Email" /></td>
        <td> <asp:TextBox runat="Server" ID="TBDelEmail"  /></td>      
     </tr>
        </table>
  </div>
  <div class="FloatRight">   
  <table id="TblInvCustomer" runat="server" class="LabelPaddingClear"   >
        <tr>
        <td> <asp:Label runat="Server" ID="LblInvName" Text="Invoice To" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvName"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblInvAddress1" Text="Address1" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvAdress1" Enabled="false"  /></td>
        </tr>
       <tr>
        <td> <asp:Label runat="Server" ID="LblInvAddress2" Text="Address2" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvAdress2" Enabled="false"  /></td>
        </tr>
       <tr>
        <td> <asp:Label runat="Server" ID="LblInvAddress3" Text="Address3" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvAdress3" Enabled="false"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblInvPostCode" Text="PostCode" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvPostCode" Enabled="false"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblInvCountry" Text="Country" /></td>
        <td> <asp:DropDownlist runat="Server" ID="DDLInvCountry" Enabled="false"  /></td>
        </tr>
        <tr>
        <td> <asp:Label runat="Server" ID="LblInvPhone" Text="Phone" /></td>
          <td> <asp:TextBox runat="Server" ID="TBInvPhone" Enabled="false"  /></td>      
      </tr>
      <tr>
        <td> <asp:Label runat="Server" ID="LblInvFax" Text="Fax" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvFax" Enabled="false"  /></td>      
     </tr>
      <tr>
        <td> <asp:Label runat="Server" ID="LblInvEmail" Text="Email" /></td>
        <td> <asp:TextBox runat="Server" ID="TBInvEmail"  Enabled="false" /></td>      
     </tr>
        </table>
 </div>  
</asp:Panel>
 <asp:CollapsiblePanelExtender runat="server" 
            ID="CPnlCustomerDetails" 
            CollapsedSize="0"
            Collapsed="True"
            ExpandControlID="PnlCustomer"
            CollapseControlID="PnlCustomer"
            AutoCollapse="False"
            AutoExpand="False"
            TextLabelID="PnlCustomerTitle"
            TargetControlID="PnlCustomerDetails"   
            CollapsedText="Show Customer Details..."
            ExpandedText="Hide Customer Details" 
            ImageControlID="ImageCustomerExpand"
            ExpandedImage="images/collapse.png"
            CollapsedImage="images/expand.png"
            ExpandDirection="Vertical"  />

    <asp:Panel ID="PnlSailTitle" runat="server" CssClass="collapsePanelHeader" >
    <asp:Label ID="LblSailTitle" 
                runat="server" />
   <asp:image runat="server" ID="ImageSailExpand" ImageUrl="~/images/expand.png" CssClass="FloatRight"   />
   </asp:Panel>
   <asp:Panel runat="server" ID="PnlSailDetails" Height="780px">


<div id="DVContainer" class="Container" >
 
    <asp:TabContainer ID="TBCSailType" runat="server" 
        ActiveTabIndex="0"        
        OnDemand="true"        
        AutoPostBack="false"
        TabStripPlacement="Top"
        CssClass="ajax__tab_xp"
        ScrollBars="None" >
    <asp:TabPanel runat="server" 
        ID="TabMainSail" 
        HeaderText="Main Sail"
        Enabled="true"
        ScrollBars="Auto"        
        OnDemandMode="Once">
        <ContentTemplate>
          <div id="AccordianPanel"  >
             <div >
             <asp:Panel runat="server"

                        id="pnlAccordian">
            <asp:Accordion ID="Accordion1" runat="server"
                                SelectedIndex="0"  
                                HeaderCssClass="accHeader" 
                                ContentCssClass="accContent" 
                                FadeTransitions="true"
                                FramesPerSecond="40" 
                                TransitionDuration="250" 
                                  AutoSize="None"   >
         <Panes>
 
             <asp:AccordionPane ID="ACCSailType" 
                        runat="server" 
                        Contentcssclass="leftjustify">
              <Header>
                     <asp:Label runat="server"
                                 ID="LblSDHeader" Text="Sail Type" />
              </Header>
               <Content>
                   <asp:RadioButtonList ID="RBRaceCruise" runat="server" RepeatColumns="3"  AutoPostBack="true" cssclass="DropDownListPadding" />
                  <br />
                   <asp:DropDownList ID="DDLTier" 
                                runat="server"
                                 AutoPostBack="true" Visible="false" />
                    <asp:DropDownList ID="DDLSailType" 
                                runat="server"
                                 AutoPostBack="true" />
                                 <br />
                    <asp:DropDownList ID="DDLConstruction" 
                                runat="server"
                                 AutoPostBack="true" />
                    <br />
                    <asp:DropDownList ID="DDLYarnType" 
                                runat="server"
                                 AutoPostBack="true" />
                    <br />
                    <asp:Panel ID="PnlFabric" 
                                runat="server">
                    <asp:DropDownList ID="DDLSupplier" 
                                runat="server"
                                 AutoPostBack="true" />
                    <br />
                     <asp:DropDownList ID="DDLCloth" 
                                runat="server"
                                 AutoPostBack="true" />
                    </asp:Panel>
                    <asp:Panel ID="PnlMembrane" 
                                runat="server">
                    <asp:DropDownList ID="DDLDPI"
                                runat="server"
                                 AutoPostBack="true" 
                                 Enabled="false" />
                    <br />
                    <asp:DropDownList ID="DDLTopSurface" 
                                runat="server"
                                 AutoPostBack="true" />
                    <br />
                     <asp:DropDownList ID="DDLBotSurface" 
                                runat="server"
                                 AutoPostBack="true" />
                    </asp:Panel>
                      
                   </Content>
                 
                   </asp:AccordionPane>
 
               <asp:AccordionPane ID="ACCSailDetails" 
                        runat="server" 
                        Contentcssclass="leftjustify">
              <Header>
                     <asp:Label runat="server"
                                 ID="Label3" Text="Sail Details" />
              </Header>
               <Content>
               <asp:Table runat="server"
                        id="TblSailDetails2"  
                        CssClass="Tblspacing">
                <asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                            id="LblLuff"
                            cssclass="TextLabel" 
                            Text="Luff (mm)" /></asp:TableCell><asp:TableCell> <asp:TextBox runat="server" 
                             id="TBLuff" 
                             AutoPostBack="true"
                             text="0" /></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                            id="LblLporFoot"
                            cssclass="TextLabel" 
                            Text="Foot (mm)"  /></asp:TableCell><asp:TableCell> <asp:TextBox runat="server" 
                             id="TBLporFoot"
                             AutoPostBack="true"
                             text="0" /></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                            id="LblInputArea"
                            Text="Area (sq m)"  /></asp:TableCell><asp:TableCell> <asp:TextBox runat="server" 
                             id="TBInputArea" 
                             AutoPostBack="true"
                             text="0"/></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                            id="LblAWS"
                            Text="App. Wind Speed"  /></asp:TableCell><asp:TableCell> <asp:DropDownList ID="DDLAWS" 
                                runat="server"
                                Enabled="false" /></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                       id="lblLoadFactortxt" 
                       Text="Load Factor -" /></asp:TableCell><asp:TableCell> <asp:Label runat="server"
                       id="lblLoadFactor" /></asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell> <asp:Label runat="server"
                            id="LblFilmTxt" 
                            Text="Film Type -" /></asp:TableCell><asp:TableCell> <asp:Label runat="server"
                            id="LblFilm" /></asp:TableCell></asp:TableRow></asp:Table><br /></Content></asp:AccordionPane><asp:AccordionPane ID="AccPTechnical" 
                        runat="server" 
                        Contentcssclass="leftjustify">
          <Header>
              <asp:Label runat="server"
                         ID="Label4" 
                         Text="Technical Data" />
              </Header>
               <Content>
               <asp:Panel id="PnlMembranegraph" 
                        runat="server" >
           <table>
		 <tr>
		 <td valign="bottom">
          <table id="TblCMM" 
                 runat="server" 
                 style="height: 100%" >
          <tr>
           <td align="center" 
                valign="bottom" 
                style="height: 85%">
           <asp:Label ID="RCMM" 
                runat="server" 
                BackColor="MediumSeaGreen"
                Width="9px"
                Height="100px" />
           </td>
           <td align="center" valign="bottom">
           <asp:Label ID="MCMM" 
                runat="server" 
                BackColor="Red" 
                Width="9px" />
           </td>
           <td align="center" valign="bottom">
           <asp:Label ID="FCMM" 
                runat="server" 
                BackColor="Red"
                Width="9px" />
           </td>
           </tr><tr>
           <td align="center" valign="middle">
           <asp:label id="LblRequiredCMM" 
                runat="server" >Req.</asp:label><br /><asp:label id="LblReqdCMM" 
                runat="server" />
          </td>
          <td align="center"  valign="middle">
          <asp:label id="LblMembraneCMM" 
                runat="server" >Memb.</asp:label><br /><asp:label id="LblMembCMM" 
                runat="server" />
          </td>
          <td align="center"  valign="middle">
          <asp:Label ID="LblActCMM" 
                runat="server" 
                Visible="False">Fabric </asp:Label><asp:Label ID="LblACMM" 
                runat="server" 
                Visible="False" />
         </td></tr><tr>
         <td align="center" colspan="3" valign="middle">
         <asp:Label ID="Label8" 
                runat="server">CMM</asp:Label></td></tr></table></td><td valign="bottom">
          <table id="TblWeight" 
                runat="server" 
                style="height: 100%" >
         <tr>
         <td align="center" valign="bottom" style="height: 85%">
         <asp:Label ID="RW" 
                runat="server" 
                BackColor="MediumSeaGreen"
                Width="9px" 
                Height="100px" />
           </td><td align="center" valign="bottom">
           <asp:Label ID="CW" 
                runat="server" 
                BackColor="Red" 
                Width="9px" />
            </td></tr>
            <tr >
            <td align="center" valign="middle">
            <asp:Label ID="LblWeightText" 
                   runat="server"> Total</asp:Label><br /><asp:label id="LblWeight" 
                    runat="server" />
            </td>
            <td align="center"  valign="middle">
            <asp:Label ID="LblActWeight" 
                    runat="server" 
                    Visible="False">Fabric</asp:Label><br /><asp:Label ID="LblAWeight" 
                    runat="server" 
                    Visible="False" />
              </td></tr><tr>
             <td align="center" colspan="2"  valign="middle">
             <asp:Label ID="Label5" 
                    runat="server"> Weight</asp:Label></td></tr></table></td></tr></table></asp:Panel><asp:Panel id="PnlClothGraph" 
                        runat="server" >
                </asp:Panel>
                </Content>
                 
            </asp:AccordionPane>
       <asp:AccordionPane ID="AccPOptions" 
                        runat="server" 
                        Contentcssclass="leftjustify">
          <Header>
              <asp:Label runat="server"
                           ID="Label6" 
                           Text="Options" />
              </Header>
               <Content>
               <asp:Panel id="Panel1" 
                        runat="server" >
                <asp:Table runat="server" ID="TblOptions" CssClass="Front" />
                 </asp:Panel>
                 </Content>
                 
            </asp:AccordionPane>

        </Panes>


           </asp:Accordion>
        </asp:Panel>              
        <asp:DropShadowExtender runat="server"
            id="dseAccordian" 
            Opacity="0.2" 
            TrackPosition="true" 
            TargetControlID="pnlAccordian" />
            </div>
        </div>
            
            <div id="PicturePage" class="PicturePage">
             
                       
            

                <asp:PlaceHolder ID="PHPicturePage" runat="server">
                </asp:PlaceHolder>
             </div>
         </ContentTemplate>
    </asp:TabPanel>

   <asp:TabPanel ID="TabHeadSail" runat="server" 
        HeaderText="Head Sail"
        Enabled="true"
        ScrollBars="Auto"        
        OnDemandMode="Once">
        <ContentTemplate>
            Headsail
        </ContentTemplate>
    </asp:TabPanel>
   <asp:TabPanel ID="TabDownWind" runat="server" 
        HeaderText="Downwind Sail"
        Enabled="true"
        ScrollBars="Auto"        
        OnDemandMode="Once">
        <ContentTemplate>
            Downwind Sail
        </ContentTemplate>
    </asp:TabPanel>

    </asp:TabContainer>
          
 
     
 



   
    </div>
    </asp:Panel>
 <asp:CollapsiblePanelExtender runat="server" 
            ID="CPnlSail" 
            CollapsedSize="0"
            Collapsed="True"
            ExpandControlID="PnlSailTitle"
            CollapseControlID="PnlSailTitle"
            AutoCollapse="False"
            AutoExpand="False"
            TextLabelID="LblSailTitle"
            TargetControlID="PnlSailDetails"   
            CollapsedText="Show Sail Pricing and Options"
            ExpandedText=" Hide Sail Pricing and Options" 
            ImageControlID="ImageSailExpand"
            ExpandedImage="images/collapse.png"
            CollapsedImage="images/expand.png"
            ExpandDirection="Vertical"  />

    
     <asp:Panel ID="PnlSummary" runat="server" CssClass="collapsePanelHeader" >
    <asp:Label ID="LblSummaryTitle" 
                runat="server" />
   <asp:image runat="server" ID="ImageSummaryExpand" ImageUrl="~/images/expand.png" CssClass="FloatRight"   />
   </asp:Panel>
   <asp:Panel runat="server" ID="PnlSummaryDetails">
 <asp:Label runat="server" ID="lblError" />
  		<table ID="tblQuoteInfo" cellspacing="1" cellpadding="1" width="70%" align="center" runat="server">
			<tr>
				<td class="fieldtextbold" align="center">&nbsp; <asp:label id="Label1" runat="server">Boat type</asp:label></td><td class="fieldtextbold" align="center">&nbsp; <asp:label id="LblBoatNameTxt" runat="server">Boat name</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblLOATxt" runat="server">LOA </asp:label></td><td class="fieldtextbold" align="center">&nbsp; <asp:label id="LblITxt" runat="server">I</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblJTxt" runat="server">J</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblPTxt" runat="server">P</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblETxt" runat="server">E</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblISPTxt" runat="server">ISp</asp:label></td><td class="fieldtextbold" align="center">
                <asp:label id="LblSPLTxt" runat="server">SpL</asp:label></td></tr><tr>
				<td align="center"> <asp:label id="LblSumBoatType" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"> <asp:label id="LblSumBoatName" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"> <asp:label id="LblSumLOA" runat="server"  CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumI" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumJ" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumP" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumE" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumISP" runat="server" CssClass="fieldtext" /> 
                </td><td align="center"><asp:label id="LblSumSpl" runat="server" CssClass="fieldtext" /> 
                </td></tr></table>
  <br />
  <asp:table id="TblLineItem" Runat="server" CellPadding="2" CellSpacing="5" GridLines="None" HorizontalAlign="Center"  width="70%">
			<asp:TableRow>
				<asp:TableCell>
					<asp:Label runat="server" ID="Label13" CssClass="fieldtextbold">SAIL TYPE</asp:Label>
				</asp:TableCell><asp:TableCell>
					<asp:Label runat="server" ID="Label14" CssClass="fieldtextbold">AREA</asp:Label>
				</asp:TableCell><asp:TableCell>
					<asp:Label runat="server" ID="Label16" CssClass="fieldtextbold">CONSTRUCTION</asp:Label>
				</asp:TableCell><asp:TableCell>
					<asp:Label runat="server" ID="Label19" CssClass="fieldtextbold">FABRIC/YARN</asp:Label>
				</asp:TableCell><asp:TableCell>
					<asp:Label runat="server" ID="Label20" CssClass="fieldtextbold">DPI/GRAMS</asp:Label>
				</asp:TableCell><asp:TableCell>
					<asp:Label runat="server" ID="Label21" CssClass="fieldtextbold">PRICE </asp:Label>
				</asp:TableCell></asp:TableRow></asp:table></asp:Panel><asp:CollapsiblePanelExtender runat="server" 
            ID="CPnlSummary" 
            CollapsedSize="0"
            Collapsed="True"
            ExpandControlID="PnlSummary"
            CollapseControlID="PnlSummary"
            AutoCollapse="False"
            AutoExpand="False"
            TextLabelID="LblSummaryTitle"
            TargetControlID="PnlSummaryDetails"   
            CollapsedText="Show Summary Details..."
            ExpandedText="Hide Summary Details" 
            ImageControlID="ImageSummaryExpand"
            ExpandedImage="images/collapse.png"
            CollapsedImage="images/expand.png"
            ExpandDirection="Vertical"  />

</div>
<!--   -->
</asp:Content>